home *** CD-ROM | disk | FTP | other *** search
- Path: news.informatik.uni-kiel.de!ma
- From: ma@informatik.uni-kiel.de (Martin Ameskamp)
- Newsgroups: comp.lang.c++
- Subject: Re: help finding ranges of types
- Date: 29 Jan 1996 20:12:06 GMT
- Organization: Dept. of Computer Science, University of Kiel, FRG
- Message-ID: <4ej9mm$r6c@gutemine.informatik.uni-kiel.de>
- References: <4eiud1$r0u@geraldo.cc.utexas.edu>
- NNTP-Posting-Host: rigel.informatik.uni-kiel.de
-
- In <4eiud1$r0u@geraldo.cc.utexas.edu> trakas@mail.utexas.edu (Travis Kaspar) writes:
-
- >I have to determine the ranges (ie allowable values) for all
- >the basic types, without using sizeof(type). I know I could increment
- >from 0 until the sign changed, but I don't think that will work with float,
- >and there's bound to be an easier way (doesn't there?)
- >Thanks,
- >Travis Kaspar
- >trakas@mail.utexas.edu
-
- My machine has a file values.h that has all this information.
- The corresponding man page claims conformance with
- X/Open Portability Guide, Issue 3, 1989.
-
- Does that help?
-
- Martin
-